<?php 
define("ROOTPATH",dirname($_SERVER['SCRIPT_NAME']));
define("PHP",ROOTPATH."/PHP");

echo PHP;

?>